body {
  margin: 0;
  padding: 0;
  font-size: 12px;
  background-color: #f5f5f4;
  height: 100vh;
  overflow: hidden;
  word-break: break-all;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  vertical-align: middle;
  border-radius: 5px;
}

.tips{
  width: 1200px;
  margin: 0 auto 20px;
  background-color: $main-color;
  color: #ffffff;
  height: 80px;
  line-height: 30px;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  .title{
    line-height: 40px;
    font-size: 22px;
  }
}

// 刷选功能
.select-choose {
  width: 100%;
  //margin: 20px auto;
  margin-bottom: 20px;
  padding: 20px 20px 10px 20px;
  background: #fff;
  border-radius: 5px;
}
.tag {
  display: flex;
  font-size: 14px;
  .tag-title {
    min-width: 80px;
    padding-top: 8px;
    color: #777;
  }
  .tag-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
    .tag-item-name {
      font-style: normal;
      font-weight: normal;
      color: #333;
      cursor: pointer;
      margin-right: 10px;
      padding: 8px 10px;
      &.active {
        color: $main-color;
        font-weight: bold;
        border-radius: 5px;
      }
    }
  }
}

// 标题样式
.title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

// 没有数据样式
.no-data {
  text-align: center;
  font-size: 20px;
  line-height: 100px;
}

.main-container {
  width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - $header-height - $footer-height);
}

.table-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - $header-height - 120px);
  overflow: hidden;
  .el-table {
    flex: 1;
  }
}

// 富文本样式
.rick-text {
  font-size: 14px;
  img {
    max-width: 100%;
  }
  .token .attr-name {
    margin-left: 5px;
  }
}

.text-color {
  color: #777;
}

.clearfix {
  clear: both;
}
.cursor {
  cursor: pointer;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.ml20 {
  margin-left: 20px;
}
.mr20 {
  margin-right: 20px;
}

.el-dialog {
  // 弹窗
  .el-dialog__body {
    max-height: 80vh;
    min-height: 20vh;
    overflow: auto;
  }
}

// 分割线样式
.el-divider--horizontal {
  margin: 10px 0 !important;
}

// 滚动条样式
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-track {
  border-radius: 0;
}
